- view_stock_sales_payments.php
- project /
1 <?php
2 session_start(); // Use session variable on this page. This function must put on the top of page.
3 if(!isset($_SESSION['username']) || $_SESSION['usertype'] !='admin'){ // if session variable "username" does not exist.
4 header("location:index.php?msg=Please%20login%20to%20access%20admin%20area%20!"); // Re-direct to index.php
5 }
6 else
7 {
8 include_once "db.php";
9 error_reporting (E_ALL ^ E_NOTICE);
10
11
12 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
13 "http://www.w3.org/TR/html4/loose.dtd">
14 <html>
15 <head>
16 <title>Welcome to Stock Management System !</title>
17 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
18 <link rel="stylesheet" href="css/validationEngine.jquery.css" type="text/css" media="screen" title="no title" charset="utf-8" />
19 <link rel="stylesheet" href="css/template.css" type="text/css" media="screen" title="no title" charset="utf-8" />
20 <script src="js/jquery.min.js" type="text/javascript"></script>
21
22 <script type='text/javascript' src='lib/jquery.bgiframe.min.js'></script>
23 <script type='text/javascript' src='lib/jquery.ajaxQueue.js'></script>
24 <script type='text/javascript' src='lib/thickbox-compressed.js'></script>
25 <script type='text/javascript' src='jquery.autocomplete.js'></script>
26 <script type='text/javascript' src='localdata.js'></script>
27
28 <link rel="stylesheet" type="text/css" href="jquery.autocomplete.css" />
29 <link rel="stylesheet" type="text/css" href="lib/thickbox.css" />
30
31 <script type="text/javascript">
32 $().ready(function() {
33
34 function log(event, data, formatted) {
35 $("<li>").html( !data ? "No match!" : "Selected: " + formatted).appendTo("#result");
36 }
37
38 function formatItem(row) {
39 return row[0] + " (<strong>id: " + row[1] + "</strong>)";
40 }
41 function formatResult(row) {
42 return row[0].replace(/(<.+?>)/gi, '');
43 }
44
45
46
47 $("#singleBirdRemote").autocomplete("category.php", {
48 width: 160,
49 autoFill: true,
50 selectFirst: false
51 });
52 $("#supplier").autocomplete("supplier1.php", {
53 width: 160,
54 autoFill: true,
55 selectFirst: false
56 });
57 $("#uom").autocomplete("uom.php", {
58 width: 160,
59 autoFill: true,
60 selectFirst: false
61 });
62
63
64 $("#clear").click(function() {
65 $(":input").unautocomplete();
66 });
67 });
68
69
70 </script>
71
72 <script LANGUAGE="JavaScript">
73 <!--
74 // Nannette Thacker http://www.shiningstar.net
75 function confirmSubmit()
76 {
77 var agree=confirm("Are you sure you wish to Delete this Entry?");
78 if (agree)
79 return true ;
80 else
81 return false ;
82 }
83
84 function confirmDeleteSubmit()
85 {
86 var agree=confirm("Are you sure you wish to Delete Seletec Record?");
87 if (agree)
88
89 document.deletefiles.submit();
90 else
91 return false ;
92 }
93
94
95 function checkAll()
96 {
97
98 var field=document.forms.deletefiles;
99 for (i = 0; i < field.length; i++)
100 field[i].checked = true ;
101 }
102
103 function uncheckAll()
104 {
105 var field=document.forms.deletefiles;
106 for (i = 0; i < field.length; i++)
107 field[i].checked = false ;
108 }
109 // -->
110 </script>
111
112
113 <script src="js/jquery.validationEngine-en.js" type="text/javascript"></script>
114 <script src="js/jquery.validationEngine.js" type="text/javascript"></script>
115 <script src="js/jquery.hotkeys-0.7.9.js"></script>
116 <!-- AJAX SUCCESS TEST FONCTION
117 <script>function callSuccessFunction(){alert("success executed")}
118 function callFailFunction(){alert("fail executed")}
119 </script>
120 -->
121
122 <script>
123
124
125
126
127
128 $(document).ready(function() {
129 // SUCCESS AJAX CALL, replace "success: false," by: success : function() { callSuccessFunction() },
130 $("#name").focus();
131 $("#form1").validationEngine(),
132
133 jQuery(document).bind('keydown', 'Ctrl+s',function() {
134 $('#form1').submit();
135 return false;
136 });
137
138 jQuery(document).bind('keydown', 'Ctrl+r',function() {
139 $('#form1').reset();
140 return false;
141 });
142 jQuery(document).bind('keydown', 'Ctrl+a',function() {
143 window.location = "addstock.php";
144 return false;
145 });
146 jQuery(document).bind('keydown', 'Ctrl+0',function() {
147 window.location = "admin.php";
148 return false;
149 });
150 jQuery(document).bind('keydown', 'Ctrl+1',function() {
151 window.location = "add_purchase.php";
152 return false;
153 });
154 jQuery(document).bind('keydown', 'Ctrl+2',function() {
155 window.location = "add_stock_sales.php";
156 return false;
157 });
158 jQuery(document).bind('keydown', 'Ctrl+3',function() {
159 window.location = "add_stock_details.php";
160 return false;
161 });
162 jQuery(document).bind('keydown', 'Ctrl+4',function() {
163 window.location = "add_category.php";
164 return false;
165 });
166 jQuery(document).bind('keydown', 'Ctrl+5',function() {
167 window.location = "add_supplier_details.php";
168 return false;
169 });
170 jQuery(document).bind('keydown', 'Ctrl+6',function() {
171 window.location = "add_customer_details.php";
172 return false;
173 });
174 jQuery(document).bind('keydown', 'Ctrl+7',function() {
175 window.location = "view_stock_entries.php";
176 return false;
177 });
178 jQuery(document).bind('keydown', 'Ctrl+8',function() {
179 window.location = "view_stock_sales.php";
180 return false;
181 });
182 jQuery(document).bind('keydown', 'Ctrl+9',function() {
183 window.location = "view_stock_details.php";
184 return false;
185 });
186 //$.validationEngine.loadValidation("#date")
187 //alert($("#formID").validationEngine({returnIsValid:true}))
188 //$.validationEngine.buildPrompt("#date","This is an example","error") // Exterior prompt build example // input prompt close example
189 //$.validationEngine.closePrompt(".formError",true) // CLOSE ALL OPEN PROMPTS
190 });
191 </script>
192 <style type="text/css">
193 <!--
194 body {
195 margin-left: 0px;
196 margin-top: 0px;
197 margin-right: 0px;
198 margin-bottom: 0px;
199 background-color: #FFFFFF;
200 }
201
202 *{
203 padding: 0px;
204 margin: 0px;
205 }
206 #vertmenu {
207 font-family: Verdana, Arial, Helvetica, sans-serif;
208 font-size: 100%;
209 width: 160px;
210 padding: 0px;
211 margin: 0px;
212 }
213
214 #vertmenu h1 {
215 display: block;
216 background-color:#FF9900;
217 font-size: 90%;
218 padding: 3px 0 5px 3px;
219 border: 1px solid #000000;
220 color: #333333;
221 margin: 0px;
222 width:159px;
223 }
224
225 #vertmenu ul {
226 list-style: none;
227 margin: 0px;
228 padding: 0px;
229 border: none;
230 }
231 #vertmenu ul li {
232 margin: 0px;
233 padding: 0px;
234 }
235 #vertmenu ul li a {
236 font-size: 80%;
237 display: block;
238 border-bottom: 1px dashed #C39C4E;
239 padding: 5px 0px 2px 4px;
240 text-decoration: none;
241 color: #666666;
242 width:160px;
243 }
244
245 #vertmenu ul li a:hover, #vertmenu ul li a:focus {
246 color: #000000;
247 background-color: #eeeeee;
248 }
249 .style1 {color: #000000}
250 div.pagination {
251
252 padding: 3px;
253
254 margin: 3px;
255
256 }
257
258
259
260 div.pagination a {
261
262 padding: 2px 5px 2px 5px;
263
264 margin: 2px;
265
266 border: 1px solid #AAAADD;
267
268
269
270 text-decoration: none; /* no underline */
271
272 color: #000099;
273
274 }
275
276 div.pagination a:hover, div.pagination a:active {
277
278 border: 1px solid #000099;
279
280
281
282 color: #000;
283
284 }
285
286 div.pagination span.current {
287
288 padding: 2px 5px 2px 5px;
289
290 margin: 2px;
291
292 border: 1px solid #000099;
293
294
295
296 font-weight: bold;
297
298 background-color: #000099;
299
300 color: #FFF;
301
302 }
303
304 div.pagination span.disabled {
305
306 padding: 2px 5px 2px 5px;
307
308 margin: 2px;
309
310 border: 1px solid #EEE;
311
312
313
314 color: #DDD;
315
316 }
317
318
319 -->
320 </style>
321 </head>
322
323 <body>
324 <table width="100%" border="0" cellspacing="0" cellpadding="0">
325 <tr>
326 <td align="center" valign="top"><table width="960" border="0" cellspacing="0" cellpadding="0">
327 <tr>
328 <td>
329 <table width="960" border="0" cellpadding="0" cellspacing="0" bgcolor="#ECECEC">
330 <tr>
331 <td height="90" align="left" valign="top"><img src="images/topbanner.jpg" width="960" height="82"></td>
332 </tr>
333 <tr>
334 <td height="800" align="left" valign="top"><table width="960" border="0" cellpadding="0" cellspacing="0" bgcolor="#ECECEC">
335 <tr>
336 <td width="130" align="left" valign="top">
337
338 <br>
339
340 <strong>Welcome <font color="#3399FF"><?php echo $_SESSION['username']; ?> !</font></strong><br> <br>
341 <table width="100%" border="0" cellspacing="0" cellpadding="0">
342 <tr>
343 <td align="center"><a href="admin.php"><img src="images/home.png" width="130" height="99" border="0"></a></td>
344 </tr>
345 <tr>
346 <td align="center"> </td>
347 </tr>
348 <tr>
349 <td align="center"><a href="add_purchase.php"><img src="images/purchase.png" width="130" height="124" border="0"></a></td>
350 </tr>
351 <tr>
352 <td align="center"> </td>
353 </tr>
354 <tr>
355 <td align="center"><a href="add_stock_sales.php"><img src="images/sales.png" width="146" height="111" border="0"></a></td>
356 </tr>
357 <tr>
358 <td align="center"> </td>
359 </tr>
360 <tr>
361 <td align="center"><a href="report.php"><img src="images/reports.png" width="131" height="142" border="0"></a></td>
362 </tr>
363 <tr>
364 <td align="center"> </td>
365 </tr>
366 <tr>
367 <td align="center"> </td>
368 </tr>
369 <tr>
370 <td align="center"> </td>
371 </tr>
372 </table>
373
374
375
376
377
378 </td> <td height="500" align="center" valign="top">
379 <table width="100%" border="0" cellspacing="0" cellpadding="0">
380 <tr>
381 <td><a href="add_stock_details.php"><img src="images/addstockdetails.png" width="67" height="62" border="0"></a></td>
382 <td><a href="add_supplier_details.php"><img src="images/supplier.png" width="67" height="54" border="0"></a></td>
383 <td><a href="add_customer_details.php"><img src="images/customer.png" width="67" height="54" border="0"></a></td>
384 <td><a href="add_category.php"><img src="images/categories.png" width="67" height="54" border="0"></a></td>
385 <td><a href="view_stock_sales.php"><img src="images/vsales.png" width="67" height="54" border="0"></a></td>
386 <td><a href="view_stock_entries.php"><img src="images/vpurchase.png" width="67" height="54" border="0"></a></td>
387 <td><a href="view_stock_details.php"><img src="images/stockdetails.png" width="67" height="54" border="0"></a></td>
388 <td><a href="view_stock_availability.php"><img src="images/savail.png" width="67" height="54" border="0"></a></td>
389 <td align="left" valign="top"><a href="view_customer_details.php"><img src="images/customers.png" width="94" height="22" border="0"></a><br> <a href="view_supplier_details.php"><img src="images/suppliers.png" width="94" height="22" border="0"></a><br>
390 <a href="view_payments.php"><img src="images/payments.png" width="94" height="22" border="0"></a></td>
391 <td align="left" valign="top"><a href="view_stock_sales_payments.php"><img src="images/outstanding.png" width="94" height="22" border="0"></a><br> <a href="view_stock_entries_payments.php"><img src="images/pendings.png" width="94" height="22" border="0"></a><br>
392 <a href="logout.php"><img src="images/logout.png" width="94" height="22" border="0"></a></td>
393 </tr>
394 </table>
395 <br>
396 <br>
397
398 <table width="700" border="0" cellspacing="0" cellpadding="0">
399 <tr>
400 <td><form action="" method="post" name="search" >
401 <input name="searchtxt" type="text" >
402 <input name="Search" type="submit" value="Search">
403 </form></td>
404 <td><form action="" method="get" name="page">
405 Page per Record<input name="limit" type="text" style="margin-left:5px;" value="<?php if(isset($_GET['limit'])) echo $_GET['limit']; else echo "10"; ?>" size="3" maxlength="3">
406 <input name="go" type="submit" value="Go"><!--
407 <input type="button" name="selectall" value="SelectAll" onClick="checkAll()" style="margin-left:5px;"/>
408 <input type="button" name="unselectall" value="DeSelectAll" onClick="uncheckAll()" style="margin-left:5px;" />
409 <input name="dsubmit" type="button" value="Delete Selected" style="margin-left:5px;" onclick="return confirmDeleteSubmit()"/> --></form></td>
410 </tr>
411 </table>
412 <?php
413
414
415
416 $SQL = "SELECT DISTINCT(transactionid) FROM stock_sales where balance>0";
417
418 if(isset($_POST['Search']) AND trim($_POST['searchtxt'])!="")
419 {
420
421 $SQL = "SELECT DISTINCT(transactionid) FROM stock_sales WHERE stock_name LIKE '%".$_POST['searchtxt']."%' OR stock_supplier_name LIKE '%".$_POST['searchtxt']."%' OR stock_id LIKE '%".$_POST['searchtxt']."%' OR date LIKE '%".$_POST['searchtxt']."%' OR type LIKE '%".$_POST['searchtxt']."%' AND balance>0";
422
423
424 }
425
426 $tbl_name="stock_sales"; //your table name
427
428 // How many adjacent pages should be shown on each side?
429
430 $adjacents = 3;
431
432
433
434 /*
435
436 First get total number of rows in data table.
437
438 If you have a WHERE clause in your query, make sure you mirror it here.
439
440 */
441
442 $query = "SELECT COUNT(*) as num FROM $tbl_name where balance>0";
443 if(isset($_POST['Search']) AND trim($_POST['searchtxt'])!="")
444 {
445
446 $query = "SELECT COUNT(*) as num FROM stock_sales WHERE stock_name LIKE '%".$_POST['searchtxt']."%' OR stock_supplier_name LIKE '%".$_POST['searchtxt']."%' OR stock_id LIKE '%".$_POST['searchtxt']."%' OR date LIKE '%".$_POST['searchtxt']."%' OR type LIKE '%".$_POST['searchtxt']."%' AND balance>0";
447
448
449
450
451 }
452 $total_pages = mysql_fetch_array(mysql_query($query));
453
454 $total_pages = $total_pages[num];
455
456
457
458 /* Setup vars for query. */
459
460 $targetpage = "view_stock_sales_payments.php"; //your file name (the name of this file)
461
462 $limit = 10; //how many items to show per page
463 if(isset($_GET['limit']))
464 $limit=$_GET['limit'];
465
466 $page = $_GET['page'];
467
468 if($page)
469
470 $start = ($page - 1) * $limit; //first item to display on this page
471
472 else
473
474 $start = 0; //if no page var is given, set start to 0
475
476
477
478 /* Get data. */
479
480 $sql = "SELECT DISTINCT(transactionid) FROM stock_sales where balance>0 ORDER BY date desc LIMIT $start, $limit ";
481
482 if(isset($_POST['Search']) AND trim($_POST['searchtxt'])!="")
483 {
484
485 $sql = "SELECT DISTINCT(transactionid) FROM stock_sales WHERE stock_name LIKE '%".$_POST['searchtxt']."%' OR stock_supplier_name LIKE '%".$_POST['searchtxt']."%' OR stock_id LIKE '%".$_POST['searchtxt']."%' OR date LIKE '%".$_POST['searchtxt']."%' OR type LIKE '%".$_POST['searchtxt']."%' ORDER BY date desc LIMIT $start, $limit";
486
487
488
489
490 }
491
492 $result = mysql_query($sql);
493
494
495
496 /* Setup page vars for display. */
497
498 if ($page == 0) $page = 1; //if no page var is given, default to 1.
499
500 $prev = $page - 1; //previous page is page - 1
501
502 $next = $page + 1; //next page is page + 1
503
504 $lastpage = ceil($total_pages/$limit); //lastpage is = total pages / items per page, rounded up.
505
506 $lpm1 = $lastpage - 1; //last page minus 1
507
508
509
510 /*
511
512 Now we apply our rules and draw the pagination object.
513
514 We're actually saving the code to a variable in case we want to draw it more than once.
515
516 */
517
518 $pagination = "";
519
520 if($lastpage > 1)
521
522 {
523
524 $pagination .= "<div class=\"pagination\">";
525
526 //previous button
527
528 if ($page > 1)
529
530 $pagination.= "<a href=\"$targetpage?page=$prev&limit=$limit\">« previous</a>";
531
532 else
533
534 $pagination.= "<span class=\"disabled\">« previous</span>";
535
536
537
538 //pages
539
540 if ($lastpage < 7 + ($adjacents * 2)) //not enough pages to bother breaking it up
541
542 {
543
544 for ($counter = 1; $counter <= $lastpage; $counter++)
545
546 {
547
548 if ($counter == $page)
549
550 $pagination.= "<span class=\"current\">$counter</span>";
551
552 else
553
554 $pagination.= "<a href=\"$targetpage?page=$counter&limit=$limit\">$counter</a>";
555
556 }
557
558 }
559
560 elseif($lastpage > 5 + ($adjacents * 2)) //enough pages to hide some
561
562 {
563
564 //close to beginning; only hide later pages
565
566 if($page < 1 + ($adjacents * 2))
567
568 {
569
570 for ($counter = 1; $counter < 4 + ($adjacents * 2); $counter++)
571
572 {
573
574 if ($counter == $page)
575
576 $pagination.= "<span class=\"current\">$counter</span>";
577
578 else
579
580 $pagination.= "<a href=\"$targetpage?page=$counter&limit=$limit\">$counter</a>";
581
582 }
583
584 $pagination.= "...";
585
586 $pagination.= "<a href=\"$targetpage?page=$lpm1&limit=$limit\">$lpm1</a>";
587
588 $pagination.= "<a href=\"$targetpage?page=$lastpage&limit=$limit\">$lastpage</a>";
589
590 }
591
592 //in middle; hide some front and some back
593
594 elseif($lastpage - ($adjacents * 2) > $page && $page > ($adjacents * 2))
595
596 {
597
598 $pagination.= "<a href=\"$targetpage?page=1&limit=$limit\">1</a>";
599
600 $pagination.= "<a href=\"$targetpage?page=2&limit=$limit\">2</a>";
601
602 $pagination.= "...";
603
604 for ($counter = $page - $adjacents; $counter <= $page + $adjacents; $counter++)
605
606 {
607
608 if ($counter == $page)
609
610 $pagination.= "<span class=\"current\">$counter</span>";
611
612 else
613
614 $pagination.= "<a href=\"$targetpage?page=$counter&limit=$limit\">$counter</a>";
615
616 }
617
618 $pagination.= "...";
619
620 $pagination.= "<a href=\"$targetpage?page=$lpm1&limit=$limit\">$lpm1</a>";
621
622 $pagination.= "<a href=\"$targetpage?page=$lastpage&limit=$limit\">$lastpage</a>";
623
624 }
625
626 //close to end; only hide early pages
627
628 else
629
630 {
631
632 $pagination.= "<a href=\"$targetpage?page=1&limit=$limit\">1</a>";
633
634 $pagination.= "<a href=\"$targetpage?page=2&limit=$limit\">2</a>";
635
636 $pagination.= "...";
637
638 for ($counter = $lastpage - (2 + ($adjacents * 2)); $counter <= $lastpage; $counter++)
639
640 {
641
642 if ($counter == $page)
643
644 $pagination.= "<span class=\"current\">$counter</span>";
645
646 else
647
648 $pagination.= "<a href=\"$targetpage?page=$counter&limit=$limit\">$counter</a>";
649
650 }
651
652 }
653
654 }
655
656
657
658 //next button
659
660 if ($page < $counter - 1)
661
662 $pagination.= "<a href=\"$targetpage?page=$next&limit=$limit\">next »</a>";
663
664 else
665
666 $pagination.= "<span class=\"disabled\">next »</span>";
667
668 $pagination.= "</div>\n";
669
670 }
671
672
673 ?>
674 <?php if(isset($_GET['msg'])) echo "Record ID:[ ".$_GET['id']." ] <center>".$_GET['msg']."</center>";
675
676 if(isset($_GET['cmsg'])) echo "<center>".$_GET['cmsg']."</center>";
677 ?>
678
679
680
681 <form name="deletefiles" action="deleteselected.php" method="post">
682 <input name="table" type="hidden" value="stock_entries">
683 <input name="return" type="hidden" value="view_stock_entries.php">
684
685
686 <table width="700" border="0" cellspacing="0" cellpadding="0">
687
688 <tr>
689
690 <td bgcolor="#0099FF"><div align="center"><strong><span class="style1">View Stock Sales Payments </span></strong></div></td>
691
692 </tr>
693
694 <tr>
695
696 <td> </td>
697
698 </tr>
699
700 <tr>
701
702 <td align="center"><table width="100%" border="0" cellspacing="0" cellpadding="0">
703
704 <tr>
705
706 <td width="100"><strong>Stock ID</strong></td>
707
708 <td width="100"><strong>Due Date</strong></td>
709
710 <td width="100"><strong>Total</strong></td>
711 <td width="100"><strong>Payment</strong></td>
712 <td width="100"><strong>Balance</strong></td>
713 <td width="100"><strong>Add Payment</strong></td>
714 <!-- <td width="100"><strong>View/Edit</strong></td> -->
715 <!-- <td width="100"><strong>Select</strong></td> -->
716 </tr>
717
718
719
720
721
722 <?php
723
724
725
726 while($row = mysql_fetch_array($result))
727
728 {
729
730
731
732
733
734 $entryid=$row['transactionid'];
735 $line = $db->queryUniqueObject("SELECT * FROM stock_sales WHERE transactionid='$entryid' ");
736 $mysqldate=$line->due;
737
738 $phpdate = strtotime( $mysqldate );
739
740 $phpdate = date("d/m/Y",$phpdate);
741
742 ?>
743
744 <tr>
745
746
747
748 <td width="100"><?php echo $line->transactionid; ?></td>
749
750 <td width="100"><?php echo $phpdate; ?></td>
751
752 <td width="100"><?php echo $line->subtotal; ?></td>
753 <td width="100"><?php echo $line->payment; ?></td>
754 <td width="100"><?php echo $line->balance; ?></td>
755 <td width="100"><a href="add_stock_sales_payments.php?eid=<?php echo $line->transactionid; ?>">Pay now</a></td>
756
757
758 <!-- <td width="100"> <a href="update_stock_entries.php?id=<?php// echo $entryid;?>"><img src="images/edit-icon.png" border="0" alt="delete"></a></td>
759 -->
760 <!-- <td width="100"> <input type="checkbox" value="<?php // echo $row['id']; ?>" name="checklist[]" /></td>
761 --> </tr>
762
763
764
765
766
767
768
769
770
771
772
773
774 <?php
775
776
777
778
779
780 }
781
782
783
784
785
786
787
788
789
790
791
792
793
794 ?>
795
796
797
798
799
800
801
802
803
804
805
806 </table></td>
807
808 </tr>
809
810 <tr>
811
812 <td> </td>
813
814 </tr>
815
816 <tr>
817
818 <td align="center"> </td>
819
820 </tr>
821
822 <tr>
823
824 <td align="center"><div style="margin-left:20px;"><?php echo $pagination; ?></div></td>
825
826 </tr>
827
828 <tr>
829
830 <td align="center"> </td>
831
832 </tr>
833
834 <tr>
835
836 <td> </td>
837
838 </tr>
839
840 <tr>
841
842 <td align="center"> </td>
843
844 </tr>
845
846 <tr>
847
848 <td> </td>
849
850 </tr>
851
852 </table>
853
854
855
856 </form>
857
858
859
860 </td>
861
862 </tr>
863
864 </table>
865
866 </td>
867 </tr>
868 </table>
869
870 </td>
871 </tr>
872 <tr>
873 <td height="30" align="center" bgcolor="#72C9F4"><span class="style1"><a href="http://www.pluskb.com">Developed by PlusKB Innovations</a></span></td>
874 </tr>
875 </table></td>
876 </tr>
877 </table></td>
878 </tr>
879 </table>
880
881 </body>
882 </html>
883 <?php
884 }
885 ?>